import {
    ElButton,
    ElContainer,
    ElAside,
    ElHeader,
    ElMain,
    ElFooter,
    ElMenu,
    ElSubMenu,
    ElMenuItem,
    ElIcon,
    ElTable,
    ElTableColumn,
    ElPagination,
    ElForm,
    ElFormItem,
    ElInput,
    ElSelect,
    ElOption,
    ElDatePicker,
    ElRadioGroup,
    ElRadio,
} from "element-plus"

const components = [
    ElButton,
    ElContainer,
    ElAside,
    ElHeader,
    ElMain,
    ElFooter,
    ElMenu,
    ElSubMenu,
    ElMenuItem,
    ElIcon,
    ElTable,
    ElTableColumn,
    ElPagination,
    ElForm,
    ElFormItem,
    ElInput,
    ElSelect,
    ElOption,
    ElDatePicker,
    ElRadioGroup,
    ElRadio,
]

export const registerElement = (app) => {
    components.forEach(component => {
        app.use(component)
    })
}
